package com.yexiao.cofe.business.service;

import com.alibaba.fastjson2.JSONObject;
import com.yexiao.cofe.business.pojo.User;

import java.util.List;

/**
 * @author lkl
 * @since 2025/3/12
 */
public interface UserService {

    JSONObject login(JSONObject param);

    void exit(String token);

    void editUserMsg(JSONObject param, String token);

    JSONObject getCurrentUser(String token);

    User getUser(String token);

    void bindRole(JSONObject param, String token);

    List<JSONObject> listRole(JSONObject param, String token);
}
